package com.shangxia.user.service.impl;

import com.shangxia.feign.model.SX_User;
import com.shangxia.user.mapper.UserMapper;
import com.shangxia.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhouya38158
 * @date 2021/11/2 14:46
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public SX_User queryById(Long id) {
        return userMapper.selectById(id);
    }
}
